package com.zcl;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/9  12:09
 */
public class Switchtest {

    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            char c = (char)(Math.random()*26 + 'a');
            System.out.println(c);
            switch (c){
                case 'a':
                case 'e':
                case 'i':
                case 'o':
                case 'u':
                    System.out.println("vowel");
                    break;
                case 'y':
                case 'w':
                    System.out.println("Sometime is a vowel");
                    break;
                default:
                    System.out.println("constant");
            }
        }
    }
}
